/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pack;

/**
 *
 * @author Jadalbert
 */
class Gasket {
	private Integer i = 0;
	private String name;
        private double od = 100.0;
        private double id = 80.0;
        
        private double u = 0.0;
        private double ucz = 0.0;

    public Gasket(int i) {
        this.i = i;
    }    
        
    public Gasket(String name) {
        this.name = name;
    }
        
        

	public Integer getI() {
		return i;
	}	

	public void setI(Integer i) {
		this.i = i;
	}

    /**
     * @return the st
     */
    public String getSt() {
        return name;
    }

    /**
     * @param st the st to set
     */
    public void setSt(String name) {
        this.name = name;
    }

    public double getOd() {
        return od;
    }

    /**
     * @param od the od to set
     */
    public void setOd(float od) {
        this.od = od;
    }
    
    public double getId() {
        return id;
    }
    
    /**
     * @param id the id to set
     */
    public void setId(float id) {
        this.id = id;
    }

    /**
     * @return the u
     */
    public double getU() {
        return 0.5 * (od - id);
    }

    /**
     * @param u the u to set
     */
    public void setU(double u) {
        this.u = u;
    }

    /**
     * @return the ucz
     */
    public double getUcz() {
        return ucz;
    }

    /**
     * @param ucz the ucz to set
     */
    public void setUcz(double ucz) {
        this.ucz = ucz;
    }
}
